package com.metroinfo.infrastructure;

import java.util.concurrent.ConcurrentHashMap;

import com.metroinfo.infrastructure.keys.StationInfoDataKey;
import com.metroinfo.infrastructure.value.StationLineValue;
import com.metroinfo.interfaces.DataStructInterface;

public class StationLineData implements DataStructInterface {

	ConcurrentHashMap<StationInfoDataKey, StationLineValue> stationLineData =
		new ConcurrentHashMap<StationInfoDataKey, StationLineValue>();
	
	public StationLineData(int statcnt, int koliko){
		
	}
	
	@Override
	public Object getValue(Object o) {
		return stationLineData.get((StationInfoDataKey)o);
	}

	@Override
	public boolean isExists(Object o) {
		return stationLineData.containsKey((StationInfoDataKey)o);
	}

	@Override
	public boolean refresh() {
		return true;
	}

}
